projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53237af
)
common: Update cmd_bdinfo for PPC
author
York Sun
<
[email protected]
>
Tue, 14 May 2013 08:06:39 +0000
(08:06 +0000)
committer
Andy Fleming
<
[email protected]
>
Fri, 24 May 2013 21:54:09 +0000
(16:54 -0500)
Add board detail function to print more individual board information.
Signed-off-by: York Sun <
[email protected]
>
Signed-off-by: Andy Fleming <
[email protected]
>
common/cmd_bdinfo.c
patch
|
blob
|
history
diff --git
a/common/cmd_bdinfo.c
b/common/cmd_bdinfo.c
index 78e0bf6a3c5c34bc78d0abc519fdd6dba2926847..17dc96179bb00fd46d8ad962bc531ddc0b8cd843 100644
(file)
--- a/
common/cmd_bdinfo.c
+++ b/
common/cmd_bdinfo.c
@@
-84,6
+84,10
@@
static void print_mhz(const char *name, unsigned long hz)
}
#if defined(CONFIG_PPC)
+void __weak board_detail(void)
+{
+ /* Please define boot_detail() for your platform */
+}
int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
@@
-162,6
+166,7
@@
int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
printf("IP addr = %s\n", getenv("ipaddr"));
printf("baudrate = %6u bps\n", bd->bi_baudrate);
print_num("relocaddr", gd->relocaddr);
+ board_detail();
return 0;
}